ExamPlay Light Logo
Entrar

Computer Science for IGCSE & O level - Programming (Section 10 - No. 31)

What is the purpose of the Step value in a FOR loop, such as `For number = 10 to 50 Step 5`?
To specify the starting point of the loop.
To specify the end point of the loop.
To determine the increment or decrement for each iteration.
To define the total number of iterations.

Explicação

The Step value determines how the loop variable changes (increments or decrements) in each cycle.

Comentários (0)

Faça login para comentar
Anúncio
BrainBehindX Inc Logo
©2026; Distribuído por BrainBehindX Inc